package com.fuego.creditsystemcommodity.service;

import com.baomidou.mybatisplus.extension.service.IService;
import jakarta.servlet.http.HttpServletRequest;
import org.example.dto.Result;
import org.example.entity.Good;
import org.example.entity.GoodInfo;


public interface IGoodService extends IService<Good> {

    Result queryGoodOfShop(Long shopId);

    Result queryGoodById(Long goodId);

    void addGoodInfo(GoodInfo goodInfo);
    Result clickGood(Long goodId,Long userId);


    Result queryAllGood();

    Result pageGood(Integer page, Integer pageSize, HttpServletRequest request);

    Result searchGood(String goodName);
}
